OneTeamSoftware\WooCommerce\Shipping\Plugin S

Total Complexity 45
Dependencies 4
Dependents 0
Total lines 308
Lines of code 216
Logical lines of code 118
Comment lines 5
Methods 18
Properties 14

Methods 18

Method Rating Maintainability Complexity Lines of code
calculateShippingOnCheckout()
A
53 9 20
onCheckoutValidation()
S
53 7 21
initSettings()
S
43 5 48
register()
S
48 5 29
defineShippingMethodClass()
S
53 3 26
getDefaultServiceName()
S
66 3 9
onIsEnabled()
S
71 2 6
__construct()
S
57 1 15
onPluginActionLinks()
S
71 1 5
getPluginSettings()
S
82 1 3
updateFormFields()
S
80 1 3
getBaseShippingMethodClassName()
S
82 1 3
registerFeatures()
S
72 1 5
onAdminMenu()
S
78 1 3
addShippingMethod()
S
73 1 5
initAdapter()
S
71 1 5
loadSettings()
S
68 1 7
getShippingMethodClassName()
S
79 1 3